package com.rc.saas.mini.vo.ugs;

import com.rc.saas.mini.model.ugs.TenantUgsLevelType;

/**
 * @author wangzhengwei
 * @create 2021/4/25
 */
public class TenantUgsLevelTypeVo extends TenantUgsLevelType {
    /**
     * 折扣专属 0 :没有   1  有
     */
    private String isDiscount;

    public TenantUgsLevelTypeVo(TenantUgsLevelType tenantUgsLevelType) {
        this.setUgsLevelTypeId(tenantUgsLevelType.getUgsLevelTypeId());
        this.setTenantCode(tenantUgsLevelType.getTenantCode());
        this.setLevelType(tenantUgsLevelType.getLevelType());
        this.setLevelTypeName(tenantUgsLevelType.getLevelTypeName());
        this.setRealizeType(tenantUgsLevelType.getRealizeType());
        this.setMinValue(tenantUgsLevelType.getMinValue());
        this.setMaxValue(tenantUgsLevelType.getMaxValue());
        this.setKeepValue(tenantUgsLevelType.getKeepValue());
        this.setExpireDay(tenantUgsLevelType.getExpireDay());
        this.setPadValue(tenantUgsLevelType.getPadValue());
        this.setDiscountPercent(tenantUgsLevelType.getDiscountPercent());
        this.setSort(tenantUgsLevelType.getSort());
        this.setRemark(tenantUgsLevelType.getRemark());
        this.setStatus(tenantUgsLevelType.getStatus());
        this.setCreatedBy(tenantUgsLevelType.getCreatedBy());
        this.setCreatedTime(tenantUgsLevelType.getCreatedTime());
        this.setLastUpdatedBy(tenantUgsLevelType.getLastUpdatedBy());
        this.setLastUpdatedTime(tenantUgsLevelType.getLastUpdatedTime());
    }

    public String getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(String isDiscount) {
        this.isDiscount = isDiscount;
    }
}
